package com.lzx.demo.work4;

/**
 * @author 程序员星星
 * @date 2023/4/13
 * @Description
 */
public class MobileSIM extends SIM {
    int number;

    @Override
    void giveNumber() {
    }

    @Override
    void setNumber(int number) {
        this.number = number;
    }

    @Override
    String giveCorpName() {
        System.out.println(number);
        return "联通";
    }
}
